package com.yazi.mxz.gather.service.impl;


import javax.annotation.Resource;

import com.myframework.smhj.hibernate.Page;
import com.myframework.smhj.hibernate.Searching;
import com.myframework.smhj.hibernate.dao.BasicService;
import com.myframework.smhj.hibernate.dao.Dao;
import com.yazi.mxz.gather.dao.StoreDao;
import com.yazi.mxz.gather.entity.beans.Store;
import com.yazi.mxz.gather.service.StoreService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;


@Service("storeService")
public class StoreServiceImpl extends BasicService<Store> implements StoreService {
	private static Logger log = LoggerFactory.getLogger(StoreServiceImpl.class);
	
	@Resource
	StoreDao storeDao;

	@Override
	protected Dao<Store> getDao() {
		return storeDao;
	}
	
	@Override
	public Page<Store> listGtUpdateTime(long updateTime, Searching si) {
		log.debug("listGtUpdateTime：updateTime={},nowPage={}", updateTime, si.getNowPage());
		return storeDao.listGtUpdateTime(updateTime, si);
	}

}
